Skip to main content

cardNames

Type

property

Summary

Lists the short name property of all the cards in a stack, or all the cards that contain a specified group.

Syntax

get the cardNames of {group | stack}

Description

Use the cardNames property to list the cards in a stack.

Each line of the cardNames contains the short name of a card.

The cardNames of a group only reports card names for top-level groups (that is, groups that are not contained in another group). The cardNames property of a nested group always reports empty.

Examples

put line 1 of the cardNames of this stack into firstCard
go card (line x of the cardNames of group "Stats")

Value

NameTypeDescription

value

The cardNames of a stack consists of a list of all the cards in the stack, one per line. The cardNames of a group consists of a list of all the cards that the group is placed on, one per line. This property is read-only and cannot be set.

command: group

glossary: property, nest, group

keyword: card, line

message: nameChanged

object: card, stack

property: name

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?